package com.jing.yao.modules.role.controller.param;

import com.jing.yao.component.dto.Query;
import com.jing.yao.component.dto.QueryEnum;
import com.jing.yao.component.params.page.PageParam;

/**
 * 用户请求参数
 *
 * @author lr
 * @since 2020-07-02
 */
public class RoleParam extends PageParam {

    /**
     * 角色名称
     */
    @Query(value = QueryEnum.LIKE)
    private String roleName;

    /**
     * 是否有效
     */
    private Integer enabled;

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }
}
